﻿<%@ Page Language="c#" CodeBehind="TaskStatus.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.Schedule.TaskStatusPage" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
  <title>TaskStatus</title>
  <uds:Style runat="server" Href="~/css/BasicLayout.css" />
</head>
<body leftmargin="0" topmargin="0" ms_positioning="GridLayout">
  <form id="TaskDetail" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
      <tr>
        <td align="middle" height="60"><asp:Label ID="lblTaskDetailTitle" runat="server" Font-Size="Medium" Font-Bold="True">任务当前状态</asp:Label></td>
      </tr>
      <tr>
        <td align="middle">
          <table class="gbtext" style="border-collapse: collapse" bordercolor="#93bee2" cellspacing="0" cellpadding="0" width="60%" align="center" border="1">
            <tr height="24">
              <td style="width: 102px">发起人</td>
              <td>&nbsp;&nbsp;<asp:Label ID="lblArrangedBy" runat="server"></asp:Label></td>
            </tr>
            <tr bgcolor="#e8f4ff" height="24">
              <td style="width: 102px">状态</td>
              <td>
                <br>
                <asp:DataGrid ID="dgList" runat="server" Width="280px" AutoGenerateColumns="False" ShowHeader="False">
                  <ItemStyle Font-Size="X-Small"></ItemStyle>
                  <HeaderStyle Font-Size="X-Small" ForeColor="Maroon" BackColor="White"></HeaderStyle>
                  <Columns>
                    <asp:TemplateColumn HeaderText="执行人">
                      <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                      <ItemStyle HorizontalAlign="Center"></ItemStyle>
                      <ItemTemplate>
                        <asp:Label runat="server" Text='<%# GetRealName(DataBinder.Eval(Container, "DataItem.Username").ToString()) %>'>
                        </asp:Label>
                      </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="状态">
                      <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
                      <ItemStyle HorizontalAlign="Center" ForeColor="#FF0033"></ItemStyle>
                      <ItemTemplate>
                        <asp:Label runat="server" Text='<%# GetStatus(DataBinder.Eval(Container, "DataItem.IsConfirm").ToString()) %>'>
                        </asp:Label>
                      </ItemTemplate>
                    </asp:TemplateColumn>
                  </Columns>
                </asp:DataGrid><br>
              </td>
            </tr>
            <tr bgcolor="#e8f4ff" height="24">
              <td style="width: 102px">&nbsp;任务评论</td>
              <td>
                <iframe id="TaskCommentFrm" style="width: 99.22%; height: 204px" width="100%" scrolling="auto" runat="server" frameborder="0">no iframe</iframe>
              </td>
            </tr>
            <tr height="24">
              <td style="width: 102px">&nbsp;</td>
              <td>
                <br>
                &nbsp;</td>
            </tr>
          </table>
          <br>
        </td>
      </tr>
      <tr>
        <td align="middle" height="50">
          <table width="75%" border="0">
            <tr>
              <td align="middle" colspan="1" rowspan="1"></td>
              <td align="middle"></td>
              <td align="middle"></td>
              <td align="middle"></td>
            </tr>
            <tr>
              <td align="middle" colspan="4">&nbsp;<input class="buttoncss" style="width: 288px; height: 20px" onclick="window.close()" type="button" value=" 关 闭 "></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </form>
</body>
</html>
